home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / asm-m32r / mmu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  396 b   |  23 lines

  1. #ifndef _ASM_M32R_MMU_H
  2. #define _ASM_M32R_MMU_H
  3.  
  4. #if !defined(CONFIG_MMU)
  5.  
  6. typedef struct {
  7.     struct vm_list_struct    *vmlist;
  8.     unsigned long        end_brk;
  9. } mm_context_t;
  10.  
  11. #else /* CONFIG_MMU */
  12.  
  13. /* Default "unsigned long" context */
  14. #ifndef CONFIG_SMP
  15. typedef unsigned long mm_context_t;
  16. #else
  17. typedef unsigned long mm_context_t[NR_CPUS];
  18. #endif
  19.  
  20. #endif /* CONFIG_MMU */
  21.  
  22. #endif /* _ASM_M32R_MMU_H */
  23.